package cn.csc.module.shoppingCard.controller.admin.card.vo;

import lombok.*;
import io.swagger.annotations.*;

import java.math.BigInteger;
import java.time.LocalDateTime;

@ApiModel("管理后台 - 购物卡主表 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CardRespVO extends CardBaseVO {

    @ApiModelProperty(value = "主键id", required = true)
    private BigInteger id;

    /**
     * 是否过期
     */
    @ApiModelProperty(value = "是否过期", required = true)
    private boolean expired;

    /**
     * 订单使用数
     */
    @ApiModelProperty(value = "订单使用数")
    private Integer orderCount;

    /**
     * 操作人
     */
    @ApiModelProperty(value = "操作人")
    private String updater;

    @ApiModelProperty(value = "创建时间", required = true)
    private LocalDateTime createTime;

}
